<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>后台管理系统</title>
		<meta name="viewport" content="width=device-width,height=device-height, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="renderer" content="webkit" />
		<meta name="aplus-xplug" content="NONE">
		<link rel="stylesheet" type="text/css" href="/static/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href="/static/iconfont/iconfont.css" />
		<link rel="stylesheet" type="text/css" href="/static/layui/css/modules/admin/default/admin.css" />
		<link rel="stylesheet" type="text/css" href="/static/css/new_layui.css" />

	</head>

	<body class="layui-layout-body default">
		<div class="layui-tab-content">
			<form class="layui-form layui-col-md7" lay-filter="tpl_sale{$goods_sign}">
				<div class="layui-form-item">
					<label class="layui-form-label">属性名称</label>
					<div class="layui-input-inline">
						<input type="text" name="sale_name" lay-verify="required" placeholder="请输入销售属性名称" autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">属性值</label>
					<div class="layui-input-inline">
						<textarea name="sale_value" lay-verify="required" placeholder="每行一个属性值" class="layui-textarea"></textarea>
					</div>
				</div>
				
				<div class="layui-form-item">
					<label class="layui-form-label">独立价格</label>
					<div class="layui-input-inline">
						<input type="checkbox" lay-filter="sale_price" name="sale_price" lay-text="是|否" value="on" lay-skin="switch">
					</div>
				</div>
				<div class="layui-form-item">
					<div class="layui-input-block">
						<button type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="submit_sale">添加属性</button>
					</div>
				</div>
			</form>
		</div>
	</body>
	<script src="/static/layui/layui.js" type="text/javascript" charset="utf-8"></script>
	<script>
		var goods_sign = "{$goods_sign}",
			sale_form_value = {$data};
	</script>
	<script src="/static/js/sale/sale.js" type="text/javascript" charset="utf-8"></script>

</html>